package com.yc.myspringboot.config;

//import org.springframework.amqp.core.Queue;
//import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@EnableRabbit
@Configuration
public class RabbitMQConfiguration {

    private static final String QUEUE_SIMPLE_NAME = "hello";

    // 队列
//    @Bean
//    public Queue queue(){
//        return new Queue(QUEUE_SIMPLE_NAME);
//    }

}